/**
 * Created by shenhai on 15/9/7.
 */

var Community = mongoose.model('community');
var CommunityApplications = mongoose.model('community_applications');


exports.communityApplyListService = function (input, callback) {
    CommunityApplications.find({}).populate('user', 'nickName').sort({dateCreated:-1}).exec(callback);
};
